#pragma once
#include "CTimer.h"
#include <stdio.h>
#include <string>

using std::string;

class CProfiler
{
private:
	CTimer m_CTime;
	double m_dRunningTotal;
	LONGLONG m_llTotalTimes;
	FILE*	m_pFile;
	
public:
	CProfiler(string szFileName);
	~CProfiler();
	void Start();
	void Stop();
};